<?php
namespace builder;

//车辆抽象接口
abstract class Vehicle
{
    protected $_data; //零件清单
    //零件配置
    public function setPart($key, $value)
    {
        $this->_data[$key] = $value;
    }
    
    public function getPart()
    {
        return $this->_data;
    }
}